package com.java.example.ui.viewmodel

import android.net.Uri
import androidx.lifecycle.ViewModel
import com.blankj.utilcode.util.PathUtils
import com.java.example.app.AccountManager
import com.java.example.bean.UserProfile
import com.java.example.ui.activity.MainActivity
import com.java.example.ui.dialog.MeasureTypeDialog

class IndexViewModel : ViewModel() {
    var mExitTime: Long = 0
    var mUser: UserProfile? = AccountManager.currentUser
    var measureTypeDialog: MeasureTypeDialog? = null

    /**
     * 测量类型
     */
    var measureType = 0
    val REQUEST_CODE: Int = 1024
    val REQUEST_CODE_TAKE: Int = 1025
    private var tempBigPicPath = PathUtils.getExternalStoragePath() + "/temp_big_pic"
    var userType: String? = null

    fun init() {

    }


    fun doNext(context: MainActivity, args: Uri?, ifSave: Boolean) {
    }
}